<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>IE8解决background-size:cover无效的问题</title>
        <style>
            .box-bg{
                width: 400px;
                height: 400px;
                background-color: #ccc;
                border:1px solid #999;
                background:url(img/tourism1.png) center center no-repeat;
                background-size:cover;
                filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=Enabled, sizingMethod=scale , src="img/tourism1.png")\9;
            }
            .por{
                position: relative;
            }
        </style>
    </head>
    <body>
        <div class="box-bg">
            <a class="por" href="http://mini.eastday.com">东方头条</a>
        </div>
    </body>
</html>